/**
 * Copyright (C) 2025 pony working team
 * SPDX-License-Identifier: MulanPSL-2.0
 */

/* define to prevent recursive inclusion -------------------------------------*/
#ifndef __PONY_BSP_LCD_H__
#define __PONY_BSP_LCD_H__

/* includes (standard library, system) ---------------------------------------*/
/* includes (other library) --------------------------------------------------*/
#include <hal_lcd.h>
/* includes (project) --------------------------------------------------------*/
/* includes (local) ----------------------------------------------------------*/

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

/* defines -------------------------------------------------------------------*/

#define BSP_LCD_ON  1
#define BSP_LCD_OFF 0

/* typedefs ------------------------------------------------------------------*/
/* macro ---------------------------------------------------------------------*/
/* inlines -------------------------------------------------------------------*/
/* externs -------------------------------------------------------------------*/

extern int bsp_lcd_setpixel(uint32_t x, uint32_t y, uint32_t color);
extern int bsp_lcd_ioctl(int cmd, uintptr_t arg);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __PONY_BSP_LCD_H__ */
